I think you need to stopListening onClose?