As mentioned in the comments, the packet is only there if the application actually tries to send the packet: if the destination is not reachable, the application does not even try.
In case the destination is reachable, a result can be seen in the TCP protocol section of the Wireshark capture:
![Wireshark screenshot]()