It is not possible to limit the response time of a request from an application. It is necessary that the service interrupt the connection after 10s.
command=gunicorn -w 3 -k uvicorn.workers.UvicornWorker --timeout 2
--timeout
is intended for another as far as I understand