fix EZP-23312: asynchronous publisher: old processes are filling up the ...

JIRA: https://jira.ez.no/browse/EZP-23312

introduces the --cleanup-loop option, which defaults to 43200 seconds (twice a day)
Do this in the constructor of the class instead. That way, you can call setCleanupInterval only if the option has been given.