Web socket time to life in Worker

Once a web socket is instantiated, how long will it live in the server/Worker before it is closed? They seem to be long-living but just wanted to confirm if there is some management of these please.

Also, if a user acts maliciously, e,g, refreshes a page multiple times thus triggering a new WS create, how do you manage that on the server? That is, will a new WS be created each time or is the requestor identified and the previous instance terminated?

Thanks.

How does this community work? Does no-one from CF answer questions? Is logging a support call better?