RFC: implement release-on-empty

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>