rpearce: Use run_tasks_cleanup_on_exception for other exceptions