stop service before pkg removing