catching an exception if the proxy connection is closed

https://bugzilla.redhat.com/show_bug.cgi?id=1042938
[test]