use the following function
Code:
exit(0)