remove connection from replica