Use RFC 5321 timeout of 5 minutes by default for SMTP client.

Ticket: #7104
(cherry picked from commit 02fd4a89cd4b69f63e11bf0cd958933b7aef0c0d)