* Change connect operation to async.