Adding a sleep after starting ES