Save state when crashing the tennis_worker