How to get ACK from W5500 when disconnected

I would like to maintainTCP connection between W5500 and a server.
I am sending my own KEEP_ALIVE string to server every 1 minute.
I would like to get some message from W5500 when disconnect occured, due to any reason…
Please advise a method based on SPI bus or interrupt.