Fixes problem where exceptions thrown during initial KPRPC protocol exchange could cause websocket connection to get stuck in a zombie state until one application restarts;