reconstruct messagestore to support failhandled event persistence