Added retry code for the Directory Message Processor.