SocketConnectThread clears ref to itself when it ends.