In reply to srikanth.verification:
Fllow the code as shown here
https://www.edaplayground.com/x/NiBA
Again, this is a complicated solution. Using a response detected in the driver and put back to the sequence is the easiest way to deal with interrupts.