Initialize all_messages_processed_handler to null

This change prevents a crash that is caused by an uninitialized
pointer.