Solves race condition of MFC calc_statistics