Make networkStatus as a background service

Now we can probe network connection to the internet and the server
every 5 seconds and update the status as so.