Shutdown function is changed

I have changed the shutdown method from dispose() to system.exit(0)
Merge pull request #113 from peshmerge/ShutDown

Shutdown function is changed