restart service if process ends