Make it possible to suspend the scanning process. Use "Pause" key to suspend or resume.
Introduce the "running" flag.