Uncommented cleanup_before_exit(dirpath)