Wrap NodeJS request module to retry http requests in case of errors