Tried to lock the callback in the replayer and transmitter in order to correct concurrency errors.