XD-1975 Avoid IllegalStateException on stream stop

We need a better fix for the twitterstream "MessageDeliveryException: Dispatcher has no subscribers" warning, but at least this fixes IllegalStateException for twittersearch and twitterstream