Please make sure that you have disabled antivirus and firewall software or that you have configured them correctly.
Many reports show that AVG antivirus tracks IMAP sessions and interrupts them with no reason.
In most cases this error means that the connection was interrupted. It was lost, the server disconnected or your antivirus/firewall cut the connection.
In technical terms, it means exactly what the exception’s message says: component tried to read specified amount of data, data was expected in accordance to the protocol, but it has not been received during the specified time.
On extremely slow networks you may increase timeout values: ReceiveTimeout and SendTimeout.
If increasing timeout values doesn’t help, it means that the connection was dropped by the remote server or some intermediary router – you’ll need to connect again.