 'Unauthorized worker' breaks the code!
Sometimes 'Unauthorized worker' error can happen and this breaks the execution of the application, forcing manual restarting it!

`message from pool to miner:

 {"jsonrpc":"2.0","error":{"code":-24,"message":"Unauthorized worker."},"id":1,"result":null}

C:\Users\0xc0d32\AppData\Roaming\npm\node_modules\coin-hive-stratum\src\proxy.js:166
        connection.workerId = data.result.id;
                                          ^

TypeError: Cannot read property 'id' of null
    at Socket.<anonymous> (C:\Users\0xc0d32\AppData\Roaming\npm\node_modules\coin-hive-stratum\src\proxy.js:166:43)
    at emitOne (events.js:115:13)
    at Socket.emit (events.js:210:7)
    at addChunk (_stream_readable.js:264:12)
    at readableAddChunk (_stream_readable.js:251:11)
    at Socket.Readable.push (_stream_readable.js:209:10)
    at TCP.onread (net.js:587:20)`