Why does serial.read stop working?