Logs an error and closes the Activity instead of throwing an exception.
Fixes bug with the chat not being started when contact is clicked from the search results.