After you're finally done using an FTP server, you must call InetClose, passing it the handle returned from InetConnect() (ie, the server handle).
err = InetClose("MicrosoftHandle")
IF err \== "" THEN SAY "InetClose failed:" err