Calling the idler stop method sends a signal to the internally used
thread to finish its work. However, this thread is already blocked by
the IMAP IDLE mode and only released after reaching the IDLE timeout.
Thus, this commit sends another IMAP command (a simple NOOP) to abort
the IDLE mode so the thread can be released without any delay.
Calling the idler
stop
method sends a signal to the internally used thread to finish its work. However, this thread is already blocked by the IMAP IDLE mode and only released after reaching the IDLE timeout. Thus, this commit sends another IMAP command (a simple NOOP) to abort the IDLE mode so the thread can be released without any delay.This commit fixes GitHub issue #26.