opiClose function

Calls opiClose_for_MACHINE as appropriate.