Finish client_connect logic.