move listen to connect