This is taken care of with AMDeviceConnect() which must be called before starting a service on the device. The lockdown connection must be part of the device object.