cleanup OtpRpcFactory
mark usage of externals