Working queue implementation