Hi Thanks for the question - yes this is default behaviour - the following should help you https://github.com/Azure/azure-functions-host/pull/9402 same was also referenced here https://github.com/dotnet/aspnetcore/issues/40532
Please let us know if this works for you