Disconnect before connect to wifi