Account for io being async
Account for io being async

If there are a lot of results, there is a chance of exiting this process
before it is finished writing to the console.

Wait for stdout to be finished before exiting

depcheck/depcheck,depcheck/depcheck