Small additions to the Location logic

Made monitoring shut down when not connected to a network. Maybe leave it open
and wait ?