Commit After Network Handling

Handling internet connectivity. Changing the status accordingly.