Added timeout to geolocation