Find the word definition

Wiktionary
tie up loose ends

vb. (context idiomatic English) To deal with the minor consequences of a previous action; to tidy up, finish, or complete.