Fixing issue with cloning of connection.