Enhancements to RemoteExecutionThread.