disconnect before running the command