can connect but still fragile
Added onServiceDestroyed method in MessageHandler.