Interruption feature added for validation
Interruption hanlded for unit tests as well