It looks like this is a known issue for csx functions specifically- pre-compiled C# functions don't have this issue.
Here is the open issue on Github: https://github.com/Azure/azure-functions-host/issues/3622
Since this has not seen any movement for awhile, I would encourage you to comment on the issue including the impact for you. If you cannot use a pre-compiled function and this is a complete blocker for you that would be especially important to note.