Terminate container when ejabberd stop running.