[Issue 9831] New: connection_next() can skip an active connection