set timeout on in socket