You achieved your wish. That's not controversial.
In reply to Re^3: Check connection state prior to send data by BrowserUk in thread Check connection state prior to send data by Lucas Rey