Ensure that tasks continue running until complete.