Haba patch to prevent crash of lprod-slave.