diff --git a/Listener/VirusScannerListener.php b/Listener/VirusScannerListener.php
index 47c0e81f368aa397fc90379e204553d611bcfdd7..f4b49a9dabec7908281c458cf0ce4d680e38e9d7 100644
--- a/Listener/VirusScannerListener.php
+++ b/Listener/VirusScannerListener.php
@@ -33,15 +33,16 @@ class VirusScannerListener
 
     /**
      * @param FileUploadCompleteEvent $event
+     * @throws ConnectionException
      */
     public function onFileUploadCompleted(FileUploadCompleteEvent $event)
     {
-        $this->client = $this->getClient();
+        $client = $this->getClient();
 
         $file = $event->getUploadedFile();
         $path = $file->getLocalPath();
 
-        $result = $this->client->scanFile($path);
+        $result = $client->scanFile($path);
         $hasVirus = $result['status'] === Client::RESULT_FOUND;
 
         $meta = $file->getMetadata();
@@ -65,13 +66,8 @@ class VirusScannerListener
      */
     private function getClient(): Client
     {
-        try {
-            // Check clamd server's state
-            $this->client->ping();
-            return $this->client;
-
-        } catch (ConnectionException $connectionException) {
-            throw $connectionException;
-        }
+        // Check clamd server's state
+        $this->client->ping();
+        return $this->client;
     }
 }