Catch system call interrupt error in accept and retry.