datasift/datasift-python — pull request #40 by danielnelson (2013-11-26 02:45:40+00:00)
Title: Only try to stop the consumer thread once on error

Thread is already stopped by _on_error, fixes InvalidDataError on disconnect
and other errors.