It's probaby better to first kill and then run a service on restart. Not the other way around.