added IO timeout on socket