Cleanup Globalcache socket Class