add sleep(1) on the end of dongle reset