How to timeout tokio_threadpool::blocking?

In production code it might be doing one of the three possible things:

  1. Reading data from local disk or network.
  2. Waiting on a request from another server node.
  3. Long computation, which can get stuck.