Hide pausing tasks behind a flag