Honor keep-alive, avoid closing the connection when long-polling is used