Implement orphan stream ids with a configurable threshold

Description

When requests time out, the stream id is kept as "pending" even though the server might never send a response with that id. We should add these stream ids to a "orphan" collection and terminate the connection if the number of orphan stream ids reaches a threshold just like the java driver.

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Joao Reis

Labels

None

PM Priority

None

Fix versions

None

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Epic Link

None

Sprint

Size

None

Priority

Major
Configure