MainProgram polls nanoTime too often