[#1390] Make sure RxtxChannel does not block forever when reading