kill the last remaining select() in libfreerdp

also use _select() that is EINTR safe