break write to file in 2 parts with sleep 1 sec between