From 700c9790b7ab3e538194978e3fae8b3076ca9145 Mon Sep 17 00:00:00 2001
From: iloveicedgreentea <31193909+iloveicedgreentea@users.noreply.github.com>
Date: Wed, 21 Jun 2023 23:04:01 -0400
Subject: [PATCH] fix connection bug

---
 madvr/madvr.py | 1 +
 setup.py       | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/madvr/madvr.py b/madvr/madvr.py
index 608ce70..ed3f24a 100644
--- a/madvr/madvr.py
+++ b/madvr/madvr.py
@@ -82,6 +82,7 @@ async def open_connection(self) -> None:
         """Open a connection"""
         self.logger.debug("Starting open connection")
         try:
+            self.stop_reconnect.clear()
             await self._reconnect()
         except AckError as err:
             self.logger.error(err)
diff --git a/setup.py b/setup.py
index 8157dae..79e97bc 100644
--- a/setup.py
+++ b/setup.py
@@ -5,7 +5,7 @@
 
 setuptools.setup(
     name="py_madvr",
-    version="1.4.3",
+    version="1.4.4",
     author="iloveicedgreentea",
     description="A package to control MadVR Envy over IP",
     long_description=long_description,