Why Sandbox dosn't work well?

Hi
Why sandbox dosn’t work well?
While i run a Malware in sanbox, after closing that malware is still open and i can see that in task manager
So What does sandbox do? >:(