So I had this unsolvable problem that JupiterNotebook always lost server connection when trying to sample from a statistical model using the command:
with mod