Change timeout in HangingTest to 2 milliseconds. Tuning this parameter for the flaky test.