updated http to add more connection pool and proper connection cleanup.