make connection and cancel request