pass parent id and use interupt to make sure everything exits