function setGracefulCleanup() {
  _gracefulCleanup = true;
}
Sets the graceful cleanup.

If graceful cleanup is set, tmp will remove all controlled temporary objects on process exit, otherwise the
temporary objects will remain in place, waiting to be cleaned up on system restart or otherwise scheduled temporary
object removals.