try..catch loop for libcef