Issue #22117: Fix sock_call_ex() for non-blocking socket

Call internal_select() with a timeout of 0 second, not a timeout of -1 second
(blocking)!
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index f27e697..1ecec5a 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -742,7 +742,7 @@
                     res = 1;
             }
             else {
-                res = internal_select(s, writing, -1, connect);
+                res = internal_select(s, writing, timeout, connect);
             }
 
             if (res == -1) {