the opponents are attacking to try and claw back a 2 goal lead I would advise either setting up more defensively or setting up on the counter to try and counteract this (It is difficult to set up a good defense though).
One of the other reasons for this could be your players work rate, if its low then they won't work as hard in the later stages of a match.