Convert to dispose and try to close.