Added a usleep() that was missing.