private static async Task HandleServerRequests() { while (!finished) { try { server.RespondRequestAsync(await server.GetRequestAsync()); } catch { continue; } } }