Hide loading bar if run into error

Loading bar weren't hidden if this.getChildren can't fetch childrens.