Fix deadlock in KeysByTypeTest