correctly report timeout on select timeout