fix issue with service do not disconnected correctly