Use sendRequestWithId to add timeout to hasMessageAvailable (#11600)
Use sendRequestWithId to add timeout to hasMessageAvailable (#11600)

### Motivation

Add timeout for the reader.hasMessageAvailable(hasMsg).

### Modifications

Use `sendRequestWithId` instead if `sendCommand`, and former will get `OperationTimeout`.
massakam/pulsar,yahoo/pulsar,merlimat/pulsar,merlimat/pulsar,merlimat/pulsar,massakam/pulsar,massakam/pulsar,merlimat/pulsar,yahoo/pulsar,massakam/pulsar,yahoo/pulsar,merlimat/pulsar,yahoo/pulsar,yahoo/pulsar,massakam/pulsar,merlimat/pulsar,massakam/pulsar,yahoo/pulsar