device connection management