Make ConnectCommand run asynchronously