I've created a function with runtime v2. The function gets stuck periodically due to out of data in the service bus topic. The function remains down and doesn't work.
One way to restore the function back to work is to enter the portal, and look at the streaming log. It will cold start the function, and start working again.

Am I doing something wrong, or is it a bug in azure function runtime v2?