jobserver2: some gevents do not expose Queue.Empty as claimed in documentation