Catch more general ApiException in Nearby task.

Change-Id: Ic23e46ee0f5ddd1a33cc3bb1f333cd5ee68bfe2a