Public Stream: Change trackterms


Hello, I’m working with Java Hosebird client for streaming api, All is working OK except when I try to change the trackterms I use with StatusesFilterEndPoint.

Every 15 seconds I poll a webservice that returns the trackterms client have to use. If there are any new o removed trackterm I close the conecction (client.stop()) then I create a new client and a new endpoint with the new trackterms.

This works fine the first, second and sometimes third trackterm change, after third reconnection all changes made to trackterms seems not to be applied. I keep receiving tweets from “old” (and now removed) trackterms. I suspect is a “too many reconnects issue”.

Someone could help me?

Thank you in advance