Is there not a status we can check instead?  This seems fragile.