notify disconnect before reconnect