Added connection timeouts. Added offline functionality. Updated README.md