Revert "Fixed NullReferenceException thrown in HandleResponseError when request to server timeouts"

This reverts commit efc62ecaa6335fd190312999771c7d9125aa3e9c.