[Bug 38294] select() does not report exception on socket after non-blocking connect() fails