- added the exit on zero
- added curl timeouts