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

Work in progress, PR created for review.