add: various checks to supress unnessecery service restarts