chg: restart nanosleep when interrupted by signal
Merge pull request #430 from steenpass/nanosleep

chg: restart nanosleep when interrupted by signal