Check the network every 5s
Remove static since we only one checker (gateway)
Fix the timeout value.
Remove private method so only used.
Set current time to avoid double check when created.
Set the init value of last check to current time.
Remove unused method.
Reduce the number of call to check network.