if running in local mode fail cleanly on event calls