Definitions of homestretch:

  • noun:   the straight stretch of a racetrack leading to the finish line
  • noun:   the end of an enterprise
    Example: "They were on the homestretch when the computer crashed"