(fix) Moves Mongoose connection inside tasks
Merge pull request #56 from aselbie/master

(fix) Moves Mongoose connection inside tasks