Intel® Fortran Compiler 18.0 Developer Guide and Reference
COM Subroutine: Uninitializes the COM library.
USE IFCOM
CALL COMUninitialize( )
When using COM routines, this must be the last routine called.
See the example in COMInitialize.