Fixed MPI bugs using spinlock