fix http keep-alive bug