mongodb output: retry sending an event after failure