icat: do not select() for too long if there is data on the send queue (this fixes a major annoyance)