minor bug fix about remote stream connection & disconnection