enhanced auto recovery for serial and bluetooth