Source: https://en.wikipedia.org/wiki/Zeigarnik_effect
This is not quite the term I want when thinking about when our brains can’t let go of a problem until it is resolved or we’re convinced that it has been captured for later processing (written down in a reliable system), but it’s closely related.