Refactor of how tasks are run, approach simplified using forever-monitor