emitClose

Emits the "close" signal. See onClose.