Fix leaking location listener