bufhub: fix possible race condition when a clipboard is opened while the last user closes it.