Add a desync check in next_block