Is this a GUI app or does it use the console? It will work better as a GUI where you can use threads to control the looping and the I/O. If the program tries to read from the console, nothing can...