cleanup context after ServeHTTP