Calling timer for checking Connection....where am i wrong?

Try this extension Net : Get some information about network and in clock give blocks

If net is connected then
Set label text to connected
Else
Set label text do disconnected