v3.0.x: fix interval unref issue