Exit code and trap signals changed

The exit code was changed to 2 (CRITICAL). -1 is not a valid exit code
for Icinga.
The signals we need to trap are SIGINT and SIGTERM and not all the EXIT
signals.