fix http client unclosed connection