Added delay parameter to throttle mongoDB output when reading from collection