stock refresh interval is configurable + some cleanup