Merge pull request #1 from Distrotech/master

Use unref not remove_bucket_loop