Loong delay on GET request within POST route

Hello,

I am trying to send a GET request within a POST route.
After the request I want to send an email, this is the code:

[
		'pattern' => 'passrequest',
		'method' => 'post',
		'action'  => function () {
			$pageID = get('pageID');
			$email = get('email');
			$ourEmail = strval(page('rooms')->request_email());
			$newsletterResponse;
			
			/* Add email to Newsletter */
			try {
				$url = 'http://ymlp.com/subscribe.php';
				Remote::get($url, array('id' => 'xxxxxxx', 'YMP0' => rawurlencode($email)));
			} catch (Exception $error) {
				echo $error;
			}				
			
			/* Send request by php email to gallery */
			try {
				kirby()->email([
					'from' => 'noreply@blah.com',
					'to' => $ourEmail,
					'replyTo' => $email,
					'subject' => '[blabla] β€œ' . page($pageID)->title() . '”',
					'body'=> $email . ' blabla "' . page($pageID)->title() . '".' . "\r\n\r\n" . 'blabla: ' . page($pageID)->panelUrl() ]);
			} catch (Exception $error) {
				echo $error;
			}
			$data = ['passRequest' => true];
			return page($pageID)->render($data);
		}
	]

With only the email sending code it works well, when adding the newsletter bit the process takes a loooong time.

I don’t get any errors, i DO get confirmation from the newsletter service, but the time it takes is too much. Pasting the url directly in the browser results in an inmediate response, so the culprit is not the newsletter service.

Is that request lacking in any way? Is such a delay to be expected?

Thank you