BulkProcessor retry on connection timeout

Is there any way to retry in case of a socket or connection timeout?