Close all connections.