Add delay before exit

- Provide some time for things to be written to stdout/stderr (this is
  terrible; advice welcome)