Clean up tar processes properly