added an additional redundant thread sleep command