Improve robustness to network failures
Try to renew the connections 5 times (around 2 secs) before warning the user
Better catch exceptions
Merge branch 'abarisain'