Add logging before storing to datastore.
Use concurrent hash set for running builds.