PY-11855 Run manage.py task improvements