s3: correct check for usleep value boundaries