add a CONNECT_WAIT flag to replace the call ctdb_connect_wait() since
drwxr-xr-x - ctdb