We noticed that when we do F10 debugging and we spend time analyzing values of variables suddenly when we step on statement which queries something in the database through entity framework we get an error about connection being closed.
This only happens when debugging and not when running application. Also it only happens when we spend substantial time analyzing variables and not when quickly doing F10 presses.
This happens on multiple computers.