Sets timeout for legacy server request to 40 seconds, same as nginx timeout on legacy server.