Where is this method called? I'm not sure if we need it but we need to implement similar logic at the beginning of the  GET, POST, and POST MULTIPART methods. If we're not connected, then don't execute the request.