Polling syscalls are now restarted when interrupted by a signal, recalculating timeouts.