Improve thread safety for importing jobs

Added locks to improve thread safety when accessing the ImportingJob
config object or the ImportingManager job collection.