set timeout on only succesefull connections.