Fix multiple connections.