move UART sensor timeout check

the check was in the data received callback, so if you quit receiving data, you never timed out.

ev3dev/ev3dev#144