emitClosed

Emits the "closed" signal. See onClosed.