fix sigint/sigterm handlers
1.0.3