[NOT YET FOR MERGE] Timeouts for /v2/deployments

Work in progress, PR created for review.
As this is potentially blocking, there should be a surrounding `blocking {...}` here.