Auto-kill documents