If a user clicks the X to close my web page, I want to destroy a database connection. How do I capture that event?