Update /etc/hosts when linked container is restarted

Fix #6350


Let's use `top`, `sleep` in busybox is not very easy to kill.