This MR makes out loadingCounter behavior a bit more defensive by making sure it can never reach a negative value.
loadingCounter