add sleep command to stop hogging entire CPU