Added some sleeps for counter assertions.