workaround to ms-wall issues from mutiprocessing