How to set up a server connection timeout?
Hi!
I use so Ratchet:
.......
$loop   = React\EventLoop\Factory::create();
$sock = new React\Socket\Server($loop);
$sock->listen('1234', '0.0.0.0');
$server = new Ratchet\Server\IoServer($osmo, $sock);
.......

And faced with a problem. If a client suddenly disconnected (for example in the case of mobile enabled flight mode) - Event onClose not work ever. :( As a result, in the server's memory is still a lot of lost connections. 
Of course, I came up with algorithms "external control" ala ping pong only in its own way, but it's not a very satisfactory solution. 
I would like to ask for a valid client inactivity timeout settings class.
