Check that _stopLoadingHandler exists before calling it