diff --git a/spec/kamerling/server/tcp_spec.rb b/spec/kamerling/server/tcp_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/kamerling/server/tcp_spec.rb
+++ b/spec/kamerling/server/tcp_spec.rb
@@ -25,9 +25,7 @@ module Kamerling describe Server::TCP do
 
   describe '#stop' do
     it 'stops the server' do
-      tcp  = Server::TCP.new(addr: addr).start
-      addr = tcp.addr
-      tcp.stop
+      Server::TCP.new(addr: addr).start.stop
       run_all_threads
       -> { TCPSocket.open(*addr) }.must_raise Errno::ECONNREFUSED
     end
simplify Server::TCP#stop spec