call shutdown via atexit in views... wow I need to rewrite that django API sanely... that is so ugly...