Fix Sleep of the test program