heartbeatIntervalMs

open override var heartbeatIntervalMs: Long = 500

Ping's interval and not actually detection's timeout. Its value must be the same on both sides of connection.