Enable TCP keepalives on connection to mail server

doesn't fix, but is related to issue InvictusInnovations/keyhotee#343