Releases any resources this transport owns.
@override Future<void> close() async { closed = true; for (final connection in _connections) { if (!connection.isClosed) await connection.close(); } }