SAPUI 5 - setInterval() is called only when browser console is open

I am trying to auto refresh json model every 10 seconds. It works & table data is refreshed but only when the browser console is open. Below is my code.

    onInit: function(oEvent) {
        cont = this;
        this.setupModel(oEvent);
        setInterval(function(){
            cont.setupModel(oEvent);
        }, 10000);
    },
    setupModel:function(oEvent){
        oModel = new sap.ui.model.json.JSONModel();
        oModel.loadData("OrderStatus.json");
        oModel.attachRequestCompleted(function() {
            var ModelNEW = oEvent.getSource();
            cont.getView().setModel(ModelNEW);
            cont.getView().byId("tableDisp").getModel().refresh();
        });

    },