Removing accidental double invocation of task.