What would happen to the connection when certificate expires? [duplicate]

This question already has an answer here:

  • Does an existing SSL connection outlast the certificate's expiration 1 answer

We are using X509 certificate to connect between on-premise devices to the cloud services (Device provisioning service from Azure)

The expiry date of the certificate is 3 years from now.

Once the handshake is success between device and cloud, they send/receive messages continuously. So question, how does this connection verify if certificate is expired or not?