diff --git a/src/livestreamer_cli/main.py b/src/livestreamer_cli/main.py
index <HASH>..<HASH> 100644
--- a/src/livestreamer_cli/main.py
+++ b/src/livestreamer_cli/main.py
@@ -174,6 +174,7 @@ def output_stream_http(plugin, streams):
         server.close(True)
 
     player.close()
+    server.close()
 
 
 def output_stream_passthrough(stream):
cli: Explicitly close the server listening socket.

Avoids a ResourceWarning for “--player-continuous-http” mode.