Restart system call if they get interrupted by a signal.