Saving successful tasks
Fixing indentation
Forking a new process for each task to avoid namespace contamination