Make the plugin more robust against IOException and network timeouts in general.