Added option for connection timeoute

Defaults at 10 minutes.