export server for clean up.