proxy.py: Catch channel.ask() returning None when terminating