If the bond be rejected the district court or judge thereof shall order the assignee to give another bond, with sufficient security to be approved by the court, and if he fail to give such bond within such time as the court or judge thereof shall direct, not exceeding twenty days, his authority further to act as assignee shall be deemed revoked.