Remove empty cache name restriction. Part of #517
Make subsequent register requests wait for unregister completes