refactor(database): connectWithRetry instead of _connect
remove wrong comment