thrashosds: sync before doing powercycle testing

Hopefully fixes #5112
(cherry picked from commit 6c9292c80fc75b3e3f4f2489463e1098abf7d2cd)