Fixing a typo

Fixing a typo when closing the Mime type check resource.