Remove unused instance of mainframe