Use a try catch for JHttp