[389-devel] please review: Issue 50646/PR 50650 - Improve task handling during shutdowns