130 binlog publisher leadership issue

Would probably make sense to add `if block_given?` here, so that we don't wait if there's nothing to wait for.