rewrite the method to generate a request
delete commonrequest
test for no connection error