improved thread-safety of DataLog