Add interrupt signal handler in non-debug mode