I have a problem when I try to reconnect my mail client. I made it like this:
..because I haven't found any "reconnect"-function. But I get the error "Another operation is pending", although I am working with locks for my threads.
I checked the state of the client, and it keeps being in "Reading"-state. Is there any way I can change the state programmatically?
Any other ideas about the reason for the exception or different approach to get the reconnect done?