Automatic recover support on USB devices