don't do dup->close on export