Shutdown method implemented