Correctly timing your bankruptcy case.