Serial.write stops working if not used?