agnosticbin2: Create a thread to manage internal elements connections

Change-Id: Id29a260e82d43a30218b809e01b40b2fec8e6802