We just released v1.2.0 of the Twitter library! The updated version fixes a bug where streaming requests would sometimes silently close, as well as add a new method to manually close streaming requests.
You can update your library by changing your require to the following:
You should be able to update from any previous 1.x.x version without changing any other code!
For a complete list of available libraries, head over to our library page in the Dev Center.