(SERVER-150) flush jruby instances

In the original usage it does it in a loop after every new instance is initialized, but I don't remember wtf it is for either... so I was just trying to duplicate that behavior.