It happens to me as well when:
1. I have been idling for a long time and i try to open css up from being minimized.
2. I alt-tab out and re-open css multiple times
3. I alt-tab out while i'm joining a server.

It's never kicked me out while i was in-game though.