fix instance id fetch when terminating
fix instance id fetch when terminating

JonnyCE/project-platform,JonnyCE/project-platform,jtian0/project-platform,JonnyCE/project-platform,jtian0/project-platform,jtian0/project-platform