Please check auth http error codes like 401 for raising Connection exception, as exception will affect other query errors.