Automatic polling of running tasks at restart.