void removeNext(BrokerQueryCommand next) { nexts.remove(next); if (nexts.isEmpty && responses.isEmpty) { destroy(); } }