restore the connection request_path in case of failed request. 

This could happen if ex_project is specified and request gets ResourceNotFoundError, then request_path will be wrong for all other requests (eg on a script)