Kallichore should implement JEP 65, which provides a way for clients to ensure IOPub messages are not missed due to a race condition.
JEP 65 is documented here: https://jupyter.org/enhancement-proposals/65-jupyter-xpub/jupyter-xpub.html
The corresponding work on the Ark side has already been merged: posit-dev/ark#577