make disconnect command perform a close (works on multilevel and level)