Poll for thread state (which is what we're really concerned about) instead of relying on Thread.sleep for "make sure we're blocking" tests.