Issue #23834: Fix the default socket timeout

Use -1 second by default, not -1 nanosecond.
2 files changed