Adding periodic application restart.