Flush queued work on a restart from the hash database and discard the work structs.