Using 1 second as a default timeout might be overly strict. I guess using a more sane value like 30 seconds would be better.