link to the dealer pid, and handle the situation that dealer process terminates.