URL Connection (Network not available ) - Console Pi

Hi,
Am using console xojo script for Pi4 .
Problem is , In script stopped when Pi4 network not available
(am using URL connection for post data)
can anyone help how to handle this exception. already handle network exception but still script stopped.

Hi Pathma - did you ever sort this out?