attempt to catch when process exits before it should.