connect at list command; add disconnect the end of all commands