timeout should be set on connection