use destroy instead of close