Cleanup

Iv enabled a simple cleanup procedure, this is useful when you shut down a worker and don't want old jobs to be running after restart (in many cases jobs are relevant for a period of time).