SMTP Mail Message Activity Hangs Intermittently While Sending Emails

How to resolve when SMTP activity hangs intermittently while sending emails?

The SMTP activity does not time-out due to an issue in the library, it depends on.

However the timeout issue fix is available starting with UiPath.Mail.Activities 1.10.3 - preview and in this version, timeout settings for the Mail activities work.