Test fixes
make sure to release resources
TODOs
Send out prepare and anticompact messages once per repair, and wait for anticompaction to finish