Protecting the reading loop in cpr_robots_comm_rs232.