MAGN-3126. Ensure process is killed if timeout is exceeded.