queues can now unregister, which returns how many jobs it took with it