finish background manage