Mediation works best when a case is under way