Fix wake events on http server.