Use terminate method to exit