Thanks for the advice, Jim. I had my doubts that it would be possible to make a custom disposition, but was hoping.
I looked into the system commands instead of exec and I don’t think that solves the problem. The hcienginestop will still shut down the process before I can return the KILLREPLY and ERROR dispositions, as we need to record these in the error database.