Recover from panics during query processing.