Cleanup EOF