Signal processing for stopping CLI's program.