Fix in testcase.
Fix spurious StateAssertationErrors raised by protocols when it time outs.