Cleans socket