NodeJS client: retries

Hi there!

I have a simple question. Does the ES client for Node retries the failed requests (for example, timeout, 500, or other HTTP error), for bulk requests? Or it just fails, throws the error on the (err, res) callback and it's done?

Thanks!