I think it is related to your timeout line mostly you use timeout like this for smtp
set mailserver mail.tildeslash.com, mail.foo.bar port 25
username "Rabbi" password "Loew" using tlsv1, localhost
with timeout 15 seconds
Try to apply in your case timeout error would be gone.
Thanks & Regards,
Alok Thaker