Preventing a deadlock in SDLocationManager