Future<bool> close({CloseCode code = CloseCode.normal}) async { await _mainSocket.close(); return Future.value(true); }