sendPluginMessage returns if it succeed