I have some additional information that might help debug.
Windbg CLR Stack and PE (print exception) outputs: Note the PrintException stack stops at Aspose_Email!..(., Byte[], Int32, Int32)+0x1f7
Maybe that method is catching SocketException and continuing.
0:032> !clrstack
OS Thread Id: 0x18f0 (32)
Child-SP RetAddr Call Site
0000000022d1cae8 000007fef77b604a System.Net.Sockets.NetworkStream.Read(Byte[], Int32, Int32)
0000000022d1caf0 000007fef77b940b System.Net.FixedSizeReader.ReadPacket(Byte[], Int32, Int32)
0000000022d1cb40 000007fef77b9178 System.Net.Security._SslStream.StartFrameHeader(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000022d1cbb0 000007fef77b8e32 System.Net.Security._SslStream.StartReading(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000022d1cc30 000007fef77b8bc9 System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)
0000000022d1cce0 000007ff004d820d System.Net.Security.SslStream.Read(Byte[], Int32, Int32)
0000000022d1cd30 000007ff004d81b4 ..Read(Byte[], Int32, Int32)
0000000022d1cd80 000007ff004d8161 ..Read(Byte[], Int32, Int32)
0000000022d1cdb0 000007ff004d7d46 ..Read(Byte[], Int32, Int32)
0000000022d1ce10 000007ff004d6ff5 ..(., Byte[], Int32, Int32)
0000000022d1cec0 000007ff004da5ca ..(., Boolean, System.String)
0000000022d1d010 000007ff004da321 ..()
0000000022d1d040 000007ff004e1b4b ..Send(., System.String)
0000000022d1d080 000007ff004e0375 .Send(.)
0000000022d1d110 000007ff004dfff7 Aspose.Email.Imap.ImapClient.SelectFolder(System.String, Boolean)
0000000022d1d1a0 000007ff004df974 InBoundEmail.AsposeEmailClient.SelectFolder(System.String, InBoundEmail.IEmailStoreProcessing)
0000000022d1d300 000007ff004df12c InBoundEmail.AsposeEmailClient.ListInBoxMessages(InBoundEmail.IEmailStoreProcessing)
0000000022d1d3f0 000007ff004de8ca InBoundEmail.AsposeEmailClient.DownloadAndProcessEmailMessages(InBoundEmail.IEmailStoreProcessing)
0000000022d1d610 000007ff004c5447 InBoundEmail.InBoundEmailProcessor.Process()
0000000022d1d840 000007fef82bdd38 InBoundEmail.InBoundEmailProcessor.DoWork()
0000000022d1da00 000007fef98fe382 System.Threading.ExecutionContext.runTryCode(System.Object)
0000000022d1e2b0 000007fef833a8dd System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
0000000022d1e300 000007fef98fe382 System.Threading.ThreadHelper.ThreadStart()
0:032> !pe
Exception object: 000000000e42f9d8
Exception type: System.IO.IOException
Message: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
InnerException: System.Net.Sockets.SocketException, use !PrintException 000000000e42f380 to see more
StackTrace (generated):
SP IP Function
0000000022D1AB20 000007FEF7E6FBF0 System_ni!System.Net.Sockets.NetworkStream.Read(Byte[], Int32, Int32)+0x6c4400
0000000022D1CAF0 000007FEF77B604B System_ni!System.Net.FixedSizeReader.ReadPacket(Byte[], Int32, Int32)+0x3b
0000000022D1CB40 000007FEF77B940C System_ni!System.Net.Security._SslStream.StartFrameHeader(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x6c
0000000022D1CBB0 000007FEF77B9179 System_ni!System.Net.Security._SslStream.StartReading(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x69
0000000022D1CC30 000007FEF77B8F35 System_ni!System.Net.Security._SslStream.ProcessRead(Byte[], Int32, Int32, System.Net.AsyncProtocolRequest)+0x275
0000000022D1CCE0 000007FEF77B8BCA System_ni!System.Net.Security.SslStream.Read(Byte[], Int32, Int32)+0x3a
0000000022D1CD30 000007FF004D820E Aspose_Email!..Read(Byte[], Int32, Int32)+0x2e
0000000022D1CD80 000007FF004D81B5 Aspose_Email!..Read(Byte[], Int32, Int32)+0x15
0000000022D1CDB0 000007FF004D8162 Aspose_Email!..Read(Byte[], Int32, Int32)+0x82
0000000022D1CE10 000007FF004D7D47 Aspose_Email!..(., Byte[], Int32, Int32)+0x1f7
StackTraceString:
HResult: 80131620