Should prevent ugly exception output in vega console when browser closes connection to vega proxy