Registers the per-process clean-up job with the scheduler.
true when it was registered, false when there was nothing to do
Registers the per-process clean-up job with the scheduler.