Properly handle abrupt exit in serviced 'script'

Specifically, a Ctrl+C from the user
Merge pull request #1388 from control-center/feature/scriptExitProperly

Properly handle abrupt exit in serviced 'script'