Adding curl error exception

Adding curl error exception based on task https://beepsend.atlassian.net/browse/BE-135