removing exit()