Asynchronous connection functional.