Fix a synchronization issue during startup