Modified background workers to Tasks.