starts a new thread to initiate a connection