Tweak HttpListener to ensure created tasks are run so responses are properly closed