diff --git a/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java b/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java
+++ b/src/test/java/com/suse/saltstack/netapi/event/TyrusWebSocketEventsTest.java
@@ -85,7 +85,6 @@ public class TyrusWebSocketEventsTest {
 
             latch.await(30, TimeUnit.SECONDS);
             Assert.assertTrue(eventCountClient.counter == target);
-            streamEvents.close();
         }
     }
 
@@ -171,7 +170,6 @@ public class TyrusWebSocketEventsTest {
 
             latch.await(30, TimeUnit.SECONDS);
             Assert.assertFalse(streamEvents.isEventStreamClosed());
-            streamEvents.close();
         }
     }
Remove explicit call to `.close()` for AutoCloseables