SERVER-8170: manually free external resources upon V8Scope destruction