diff --git a/lib/cms_scanner/controllers.rb b/lib/cms_scanner/controllers.rb
index <HASH>..<HASH> 100644
--- a/lib/cms_scanner/controllers.rb
+++ b/lib/cms_scanner/controllers.rb
@@ -48,7 +48,11 @@ module CMSScanner
         each(&:run)
       end
     ensure
-      NS::Browser.instance.hydra.abort
+      # The rescue is there to prevent unfinished requests to raise an error, which would prevent
+      # the reverse_each to run
+      # rubocop:disable Style/RescueModifier
+      NS::Browser.instance.hydra.abort rescue nil
+      # rubocop:enable Style/RescueModifier
 
       # Reverse is used here as the app/controllers/core#after_scan finishes the output
       # and must be the last one to be executed. It also guarantee that stats will be output
Fixes a bug where the stats were not output when an error occured in some cases