gateway: clean up exchange order messages