Clean up processes when done.