Need to better handle the blocking call to callRemoteMethods.