Changed usleep parameter from msecs to usecs.