Guarded the checking and storing of projects with a Mutex.