Fix Gulpfile.js and add timeout setup for MongoDB