graceful exit from invalid json error, no traceback dump