Add smtp_client idle timeout and add keepalives