cpp/experimental/synchronized pool resource/release

Releases all memory owned by this resource by calling the function of the upstream memory resource as needed.

Memory is released back to the upstream resource even if has not been called for some of the allocated blocks.