Remove unnecessary sleep