Kill processes after using them for tests (likely will need to revisit).