Able to call exit multiple times