SERVER-8637: don't reuse scope if an exception was thrown