These settings are available in system.settings and are autogenerated from source.
receive_data_timeout_ms
Type
Milliseconds
Default
2000
Connection timeout for receiving first packet of data or packet with positive progress from replica
receive_timeout
Type
Seconds
Default
300
Timeout for receiving data from the network, in seconds. If no bytes were received in this interval, the exception is thrown. If you set this setting on the client, the ‘send_timeout’ for the socket will also be set on the corresponding connection end on the server.