Can we see the implementation of MonoChain? Depending on the way you implemented the process function there could be multiple issues with this code.
MonoChain
process