Updating data via addPeriodicTimer issue
So I'm trying to send updated serialized data via websockets to the client's browser. Unfortunately, my set up is all in Windows, and I've got the script below running via task scheduler.

```php
use Ratchet\Server\IoServer;
use App\RemotePCAServer;
use App\LocalSocketServer;
use App\SocketServerBridge;

use Ratchet\Http\HttpServer;
use Ratchet\WebSocket\WsServer;

$bridge = new SocketServerBridge;
$loop = React\EventLoop\Factory::create();

// get the config.ini file to obtain websocket info
$config_file = new ReadConfigIni;

// setting up socket (IP address and port) for the remote server
$config_file->SocketConfigValues($socket_ip, $socket_port);
$socket1 = new React\Socket\Server($socket_ip . ':' . $socket_port, $loop);

// setting up socket (IP address and port) for the web browser server
$config_file->WebSocketConfigValues($websocket_ip, $websocket_port);
$socket2 = new React\Socket\Server($websocket_ip . ':' . $websocket_port, $loop);

$RemServer = new IoServer(new RemoteServer($bridge), $socket1, $loop);
$localSocketServer = new LocalSocketServer($bridge);
$wsServer = new WsServer($localSocketServer);
$WebServer = new IoServer(new HttpServer($wsServer), $socket2, $loop);

// implemented the keep alive capability to keep alive a connection with a user
$wsServer->enableKeepAlive($WebServer->loop, 30);

$a = new DataOutput;
	
// loops every 2 seconds
$WebServer->loop->addPeriodicTimer(1, function() use (&$a, $localSocketServer) {
	$data = $a->SerializedData();
	$localSocketServer->sendDataToClients($data);
});

$loop->run();
```

The SocketServerBridge and RemoteServer are boilerplate. Nothing crazy. Only thing added to LocakSocketServer was: 

```php
    /**
     * sends data to all the client webbrowsers, since only client web browsers connect here!
     *
     * @param      <type>  $msg    The message
     */
    public function sendDataToClients($msg) {
        foreach ($this->clients as $client) {
            $client->send($msg);
        }
    }
```

As a test, I opened multiple tabs that connects to the LocalSocketServer, and I'm seeing all of my serialized data updating. However, after trying to let it run for about 5-6 hours, the server seemed to have crash in task scheduler (getting a 0xFF error). Wondering if using the addPeriodicTimer method isn't the best way to go? I'm trying to avoid dealing with a ZeroMQ approach. I mean, why do I need to do that if I can just add a reoccuring timer that will constantly push data every second? Thoughts?