added worker job ttl
Merge pull request #319 from mkurek/fix/workers-flush

added worker job ttl