处理当Service destory时,release资源.