Cleanup each time before sending.
Initialize the "list" of pids correctly.