Flowable HTTP Task Retry

I’m new to Flowable and BPMN in general. I would like to know what would be the best approach to retry a HTTP task in case of failure? I was able to do this for specific REST codes like 404 (using boundary error event with error reference ‘HTTP404’). However, I’m unable to find a better mechanism to catch all such errors (especially I/O error which occurs when test HTTP server is down). Any help is appreciated.
Also, what would be the ideal solution to retry 3 times with a time interval in between etc.