Close all connections on session close.