ovsdb-monitor: refactoring ovsdb_monitor_get_initial