Allowing to set refresh timeout dynamically.