Fix mistake with external filehandle and solconnect

In changing to select, the nature of the return value failed.
When using poll(), we got file descriptor number.  However select
provides the object and so we have to consult the fileno() method.

Change-Id: Ic525b315024b164eed22238ad1e4a89eed0fcf0c