Please find more information here.
I do a "ping" before every API call - just to make sure that my token is still valid.
If I do this: ping - set user active=false - ping - set user active=true
The last ping times out....
Does anyone have any ideas why?
My bad - it turned out that I wasn't closing the response object properly...