InterruptedException handling
improving test app to allow repeated logging to test performance problems