Use unref not remove_bucket_loop