Restore Inspector disconnect event handler for unexpected disconnects