tweak subshell exiting on service refresh