Add termination info to error messages

If no logger is configured, we still want to inform the user that the
process was killed (and how).