[jaring] execute_script: catch error when executing statement.