1.58.9.0

Safeguard against trying to close an INVALID_HANDLE
1.58.9.0