@override void close(int idOSM) { if (_channels.containsKey(idOSM)) { _channels.remove(idOSM); } if (_channels.isEmpty) { _streamController.close(); } }