SERVER-16694 check for shutdown definitively in bgsync