add a new param max_keepalive