asynchronous connect close