add sleep into clean script