I wanna kill a previously created background thread at the time of exiting
the application.Please help.