Implemented USB on/off on detection of host