handle SIGTERM like SIGINT
Merge pull request #129 from gapato/sigterm

cli: Handle SIGTERM like SIGINT