fix http-get unclose connection and error test-case