add delay in install_mote to give time to stop the serial port