Restart the worker on a crash.
Add tolerance option