sleep after curl