Active connections

Is there a way to find the active, reverse proxy web socket connections? I am running a set of HTML web socket based editors, and would like to terminate them once the clients get disconnected.