fix keyboardinterrupt handling in plot.surf