fix for incorrecly overriden socket timeout