Add SIGINT exit code workaround.

Assumes graceful exit when a child exits due to SIGINT.