remove duplicate Thread.sleep and give them a meaningful name