auto open connection