• You could write something that will loop through active connections and kill any that haven't done anything for longer than a particular period of time. Make sure you test thoroughly before doing anything like that in live.

    John