Prevent plugin from crashing cron job