On error, don't stop all tasks

This produces confusing behaviour. Instead, only when the error occurs
while running a background task, stop just that particular background
task.