General principles are to deliver bad news, or the possiblity/expectation of bad news, as early as possible.
The closer a person gets to realising their goal ie achieving desired outcome, the greater the feelings of frustration when the desired result isn't achieved.