libtorc-core: Add some parental locking in TorcRPCRequest