what about a return value(s)? In my opinion the function should inform caller if the service restart fails.