Add isCanceled() check to chat monitor