Workaround incorrect exit code when using LXC

When an LXC container is killed via docker kill, the exit code is 0 instead
of -1.