Added cleanup of process after a test