Fixed race conditions in simulate attack