Adding try catch back to service listener.