public function send(Receiver $receiver, Notification $notification, bool $sandbox): void
    {
        try {
            $this->doSend($receiver, $notification, $sandbox);
        } catch (HttpSenderException $e) {
            $this->httpSender->close();

            throw $e;
        }
    }
public function send(Receiver $receiver, Notification $notification, bool $sandbox): void
    {
        try {
            $this->doSend($receiver, $notification, $sandbox);
        } catch (HttpSenderException $e) {
            $this->httpSender->close();

            throw $e;
        }
    }
{@inheritdoc}

@throws HttpSenderException