Use timeout instead of interval