use emitter.close