Assess the situation and identify ways to be more productive during working hours. We're all guilty of falling down internet holes, but the key is to be honest about how often you're doing this. Once you realize how much time you're wasting, and how much more free time you could have at home, it will be easier to correct this behavior.
You'll probably never truly rid yourself of the pings of emails, chats, and phone calls unless you go off the grid. But the good news is that you don't have to. With a little preparation, honesty, and a solid plan, you can find balance in your work and home life that will work for your boss and your kids.