socket timeout - thanks to Fred Hucht