make MPI barrier dependent on delay