diff --git a/test/vinyl-luatest/gh_6565_hot_standby_unsupported_test.lua b/test/vinyl-luatest/gh_6565_hot_standby_unsupported_test.lua
index 66cfcf857c56ac6eb06b8cbb0d46736e4de5f12d..41eb209a574f51db4afa823f52d367e559a4114d 100644
--- a/test/vinyl-luatest/gh_6565_hot_standby_unsupported_test.lua
+++ b/test/vinyl-luatest/gh_6565_hot_standby_unsupported_test.lua
@@ -17,6 +17,10 @@ g.before_each(function(cg)
 end)
 
 g.after_each(function(cg)
+    -- The replica should fail to initialize and exit by itself, but let's
+    -- still try to kill it to prevent it from lingering until the next test,
+    -- because the next test may try to connect to the same URI.
+    pcall(cg.replica.stop, cg.replica)
     cg.master:drop()
 end)