Fixing a typo

Fixing a typo when closing the Mime type check resource.
Merge pull request #2385 from odiel/2.0.0

Fixing a typo