Added stopListening() method