Safety end of steam generator