added: disconnect before scan