Otherwise the process keeps running and launching another instance fails because it tries to talk to the defunct instance.