protected void OnErrorIfNotNull(Exception reason, IConnection connection) { if (EventLoop.Exception != null) { EventLoop.Exception(reason, connection); } }