In theory:
Deactivating the timeout would be the TCP standard (HTTP is based on TCP). A TCP connection may stay established even for weeks without any traffic.
In practice:
Every connection binds some resources in the server - in the current implementation it uses one thread, there are 50 threads in the current default configuration, you can change it with the num_threads config option, but increasing it to several hundred would not be a good idea. If you do have the server in a closed environment (home network, small company network, ..) and you can restart the server from time to time, you will probably not run into any problems. Otherwise you may reach a state where all available threads are blocked by connections that may be actually broken, but the server can not know that they are no longer open at the client side. Furthermore, at least in larger networks and the internet, there are often different network components that still use a timeout, typically a few minutes up to two hours, so setting a longer timeout in the server will not have any positive effect anymore - the idle connections will be reset by these components (e.g. proxies, firewalls, modems, ..) anyway, while the server will still consider them as open. So I would not use a timeout of more than two hours.
My recommendation:
When using websockets, you always implement some protocol on top of them - message in some format are passed from server to client and from client to server. Just send some "still alive" message from the client to the server every 10 seconds. Or increase the timeout to a few minutes and send a "still alive" message every minute.