Check if there is something to read before calling accept, as CDC code does