Fixed NullReferenceException thrown in HandleResponseError when request to server timeouts