MongoQueue solution