Fix for fractional sleep

Function sleep() is only for seconds
Use Time::HiRes::usleep() for microsecond accuracy