SERVER-13715 fix use of auto_ptr after release in subplan runner