WebSockets - what happens when worker is upgraded

When we upgrade our Worker - does CloudFlare terminate active sockets? We think we're seeing behavior where an old version of a worker is around for some time with a live socket - probably with multiple open sockets.

Is this expected behavior?
Was this page helpful?