Fixed nprogress not exiting when request fails