Refactored all sleeps into contants.