Don't try to pselect on a negative timeout.
Use pselect instead of nanosleep in sleepByteTimes.