keepAliveTimeout property
After having pinged for keepalive check, the server waits for a duration of keepAliveTimeout (in milliseconds). If the connection doesn't have any activity even after that, it gets closed.
Implementation
final Duration keepAliveTimeout;