Number of rounds requested is higher than number of existing rounds

I noticed that dapp made with lisk-sdk 3.0.2, sometimes when closed via ctrl+c or crashed. Ends up with broken chain. Not really sure why it happens and how to fix it. Ctrl+C is graceful and app is closing all tasks gracefully.

EDIT
It seems that when node is running via
node index.js | npx bunyan -o short
It is not closing gracefully, issue does not occur while simply using node index.js
How to gracefully close process with npx bunyan?

message: Number of rounds requested is higher than number of existing rounds.
    --
    stack: Error: Number of rounds requested is higher than number of existing rounds.
        at Dpos.getMinActiveHeightsOfDelegates (/home/ldice/ldicedev/node_modules/lisk-framework/src/modules/chain/dpos/dpos.js:119:10)