Clear config cache just before main loop starts