Make sure we always remove the loading state.