drop temporary tables after rebuild has finished