Close connection when flush fails
proxy.py: Catch channel.ask() returning None when terminating
Merge pull request #139 from smurfix/fixes

Close connection when flush fails