docs(): Added in the README.md that the request timeout must be set to -1.
chore(): clean up the code a bit

- note also that adding the "retry" at the first place messed up the javascript client for a (yet) unknown reason.