Fix opening mimetypes twice and only closing first
Fix opening mimetypes twice and only closing first

Found by FindBugs.

WilliamDo/nanohttpd,LordFokas/nanohttpd,NanoHttpd/nanohttpd,WilliamDo/nanohttpd,NanoHttpd/nanohttpd,LordFokas/nanohttpd