Added code to handle exceptions when EAGAIN is handled.
Added code to handle exceptions when EAGAIN is handled.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch