Add timeout to geolocation method