remove location listener after using it.