Is it possible to destroy a replicated component?

I have a component which is used only for a short period of time and I would like to destroy it after it is done with its work.
Right now what I do is just calling myComp->DestroyComponent(); at the proper time but this seems to create problems with replication giving me the error “UActorChannel::ReceivedBunch: ReadContentBlockHeader FAILED. Bunch.IsError() == TRUE. Closing connection.”
Is it possible to destroy this kind of components and, in case, how?