No owning connection for actor

basically i’m trying to get my player characater the opportunity to be controlled by an ai controller
the problem is next time i want to RPC from client character to server character i’m getting this message:
[2017.11.25-07.49.31:724][234]LogNet: Warning: UIpNetDriver::ProcesRemoteFunction: No owning connection for actor MyMixamoChar1_C_0. Function ServerShowCharacterSelection will not be processed

It looks as the client somehow lost the ownership over the player character when it got possessed by an ai controller.
Do you know how can i have the client regain ownership over the player character so that RPCs work as before?

Here is how i am handling the possession by an ai controller: