US President Joe Biden had said a ceasefire was «closer than we have ever been» following talks in Qatar.