settimeout on socket