mds_thrash: requery mds status inside the wait loop

Signed-off-by: Sage Weil <sage@inktank.com>