try/except to prevent failure of kernel