Implemented fetchAndClearAll. It isn't done in the most efficient manner. Should probably use the MongoDB $in query operator.