[ASIO] Handle flapping clients.

Do not assume that the socket is connected by the time we're going
to create the session, because the client might disappear any time.