Accidentally converted this to a multithreaded application.