[connectionagent] do not setup a connection if bestconnection is empty