Fixed typing notifications not interrupting a sync long poll. Contributed by @eleboucher.