remove old socket