SNAP Python stopped when try to write file

I am working on Sentinel 1 data. When I try to write after my processing, the code stuck like for hours. What could be possible reason and how to solve it?

The code worked like few months ago very smoothly but now it is like this.