ad hoc connection management mechanism