We don't need to send `"end"`. Emacs is just waiting for the `"prompt"` message to start reading commands again. `"stderr"` messages are handled as _signals_ and can be sent any time.