socket done thread done