small change to the while true loop for making linspector interruptable using ctrl-c