log connection closing error during replication