Return the correct value from exec commands.
Remove unused include.
XMPP disconnection.