Clean initialization and shutdown of UniformBufferManager