socket hang up issue