Destroy server/peer on disconnect

Add window handler to disconnect peer before closing the page, so that
clients leave quicker.