parallel: Change instances of std::runtime_error to tpie::exception.