fixed close on net socket typo