bug fix remove from robot array on websocket close