clear initialized flag as early as possible during cleanup