fix ommitted clear socket timeout