Adaptive refresh delay