Change timeout parameter in HangingTest to 3 milliseconds, since currently when this flaky test fails it always has more outputs than expected.