Work queue using MongoDB