stop location manager if there is an error