Fix ConfigProject deadlock bug