Issue #10527: Use poll() instead of select() for multiprocessing pipes