Note: InetClose doesn't raise any condition, regardless of how you have set InetErr. Therefore, if you need to check whether it successfully closed a handle, you will have to manually error check the return for an empty string.
err = InetClose() IF err \== "" THEN SAY "InetClose failed:" err