welltime/phpagi — pull request #6 by ipoddubny (2013-07-16 15:15:18+00:00)
Title: Fixed hanging due to socket error

Fixed hang due to unhandled socket errors like connection reset, etc.
The new code generates an exception which may be fatal to apps using this library.
I think this PR needs some testing before merging.