make stop service feature work with HA