Fix errors appearing after long requests