allow remote torchscript call to itself (#32990)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/32990
right now remote torchscript call can not call to itself, this diff is to support this in the same way as how is supported when calling remote python call to itself
ghstack-source-id: 98599082
Test Plan: unit test
Differential Revision: D19731910
fbshipit-source-id: 6495db68c3eaa58812aa0c5c1e72e8b6057dc5c4