make sure only a kue that is listening is closed (mainly testing)