add lock to resolve NRE when retrieving CustomTimings in parallel

resolves issue #70