publish: Listen for escape

generated from commit 914eab6231f52ec0aed5a0a3d9600444c464385d