added retry to fog_plugin