BUG: Fix vtk process shut down logic.