Issue #3229456 by guptahemant: Add a hook_cron implementation to restart purge process if it is halted