Implement a new task system to run important tasks in the background.