Cleanup of the twitter connection service.

[Review issue 3322001]
Cleanup of twitter service.

[Review issue ]