bugfix imkmsg: infinite loop on OpenVZ VMs