added a 0.25 sec sleep