I can't say if this is a good approach to handle this. Maybe someone else knows a more elegant way to avoid this issue of ghost queues being created?