catch only curl exceptions, and log an error with monolog