Sleep instead of refresh to make sure it always works