[syslog-ng] [PATCH 1/1] afmongodb: Fix a race condition in the queue & wakeup mechanism