diff --git a/src/AbstractMessageDaemon.php b/src/AbstractMessageDaemon.php
index <HASH>..<HASH> 100644
--- a/src/AbstractMessageDaemon.php
+++ b/src/AbstractMessageDaemon.php
@@ -75,7 +75,7 @@ abstract class AbstractMessageDaemon
                             $shuttingDown = true;
                             $this->preDisconnect();
                             break;
-                        } catch (MessageException $e) {
+                        } catch (UserMessageException $e) {
                             $jsonapi = [
                                 'errors' => [
                                     [
Fixed refernce to old MessageException