fixed code typo
 The database is cleared automatically on a hostname change
remove unnecesary sleep
cleared dead code
Merge pull request #266 from Zentyal/jag/jabber-changehostname

The jabber database is cleared automatically on a hostname change, alowing to resume normal operations