Remove redundant sleep