added con timeout