Google is shutting down much of its social network, Google+, after user data was left exposed. It said a bug in its software meant information that people believed was private had been accessible by third parties. Google said up to 500,000 users had been affected.