Added the logging of signal interruptions.