Store connection close timestamp in the db. Not used yet in the
reporting.