cond_var in to signal grabBlocksFromDB is done