For social habits, the mindset that I'm adopting is that its a necessary factor to perform at a high level. I've observed, especially recently, that my confidence and mood shoots out the roof when I regularly socialize.
I think the approach for me is to treat it like exercising: it won't help me type faster or solve that bug, but it will enhance my mood and confidence which is a huge competitive advantage over the long run.
I'm going to try finding a mastermind group[0] (or just creating one) and literally set time aside in my calendar for socializing. Lets see how that goes.