Bench is stopping while writing python script

hi,
In my local while writing code in python bench stops automatically.
is there any way to solve this?
I truly appreciate your assistance in advance.