How to tell the Worker to keep the application open if it's going to render a frame from the same job