Do not use global var for socked fd