Fix for correct handling of pending socket connection requests
p4#: 21759