Sorry that you are seeing this issue. It looks like a TFS related problem.
Do you see any errors logged when you say it is not connected to TFS? Please share the .log file located at workspace dir/.metadata/.log (rename the extension to .txt and attach it here)
Similar issue is discussed here. Can you please check if any of the suggestions help?