Ensure that temporary files are closed on HttpKeepAliveTest

This fixes the following error message when running the tests:
java.io.FileNotFoundException: /tmp/NanoHTTPD-xxxxxxxxxxxxxxxxxxx (Too many open files)