Revert "Add task to prevent mongo connection on asset precompile."

This reverts commit 0619fa66fdfb674fc7c15ccfebd20fd2f4582dee.