Switched to usleep (0.5 sec)