Added SIGINT handler to cleanup websocket shutdown