catch serial/usb port not open