add binding for sd_journal_wait and example