Moving all tasks to background threads