fix to not kill tasks when pausing