Implement coarse-grained fault tolerance
Introduce a delay before restarts to make sure that taskmanager failures are detected before restart.