set listening to false when stop listening