Add a delay before restarting.