Process SIGINT and SIGTERM only in safe places.
Merge branch 'master' of https://github.com/agpanarin/stlink