in the nick of time - definition and synonyms

phrase
  1. just in time to prevent something bad happening

    The swimmers were rescued in the nick of time.

     Synonyms and related words
See also main entry: nick