made sure robot serial ports are closed