Fix process cleaup for blaze backend