[SCH][Agar] Use nanosleep() instead of usleep().