stop method

Future<void> stop()

Implementation

Future<void> stop() async {
  for (final c in _conns.toList()) {
    await c.close();
  }
  await _socket?.close();
}