Fixed pids not closing.