sleeping at end of every refersh - to let other processes have a go