Future<bool> reconnect() async { if (_released) { throw Exception("AutoReconnectWebSocket was used after being disposed."); } _releaseConnection(); return _connectInternal(); }