same as above: catch exception, return JSON <- "can not connect", or similar"