| @@ -93,8 +93,11 @@ | ||
| 93 | 93 | // retry failed requests just once to diminish impact on performance |
| 94 | 94 | $httpResponse = $this->executePost($ch); |
| 95 | 95 | $responseCode = $httpResponse->getResponseCode(); |
| 96 | 96 | |
| 97 | + //close connection | |
| 98 | + curl_close($ch); | |
| 99 | + | |
| 97 | 100 | if (200 != $responseCode) { |
| 98 | 101 | // log error |
| 99 | 102 | $this->handleError($ch, $responseCode); |
| 100 | 103 | |