better error messages on SIGINT/SIGTERM