make sigterm/exit callback idempotent
check that there are no errors in the run in integration tests