This splits the stop into CheckService and StopService, so they can run in different contexts.
Common.wxs