stopping service before upgrade