fixes bugs with resubscribing to datasift streams after an end from the server