Stop backburner from closing max

Hi all!

I have created a script that converts .vrimg to .exr using the vrimg2exr that ships with vray. What I do is connect to the manager and check which frame the current backburner server has render, create a loop that runs a doscommand for every file to convert and delete the vrimg one by one. The problem is that the manager thinks the job is completed when the last frame is rendered and not when the post script is done. So the server gets an end of job command and shuts down in the middle of the post script.
Does anyone know how to solve this?

Sorry for the long description.

Have a great day!