Flip usb connected flag true/false based on library variable.

This works once, but then it remains configured even if you detach.