How to remove a render loop from an engine?

I need to remove a render loop from an engine sometimes.

When I inspect engine I create I find out there is an _activeRenderLoops property which is an array and contains a function I give to engine.runRenderLoop function as first argument myself twice and more probably later. If I have an opportunity to remove one of them by a BJS API I can prevent that.

Note: I can basically mutate this render loop internal array but I am not sure if it works as I want to not break things.

And by sending the targetted renderLoop into engine.stopRenderLoop(), it doesn’t do the job?