Fix race condition in workloads for one_to_serveral, add sanity checks in plot_hist