JBIDE-18455 - do not do remote requests for api calls that can be from main thread