add smtp timeout to avoid hang