import bokeh.server first for monkey patching
fix KeyError issue on interrupt and make exit a little nicer from bokeh-server