internal AwaitableMethod(Session session) { _session = session; _session.EventConnect += NetworkConnected; _session.EventClose += NetworkClosed; }