remove socket dependency