Mock the sleep by modifying collection time