diff --git a/skyvern/webeye/persistent_sessions_manager.py b/skyvern/webeye/persistent_sessions_manager.py
index 4029ad036..bc262d828 100644
--- a/skyvern/webeye/persistent_sessions_manager.py
+++ b/skyvern/webeye/persistent_sessions_manager.py
@@ -52,6 +52,8 @@ async def create_session(
             url=url,
             organization_id=organization_id,
         )
+
+        browser_context.on("close", lambda: self.sessions[organization_id].pop(session_id))
         
         browser_state = BrowserState(
             pw=pw,