Registry to simplify closing listeners