fix test
fix missing callback when no waiting client dequeued