Adding a few types and adding logic to try to reconnect if we ever get disconnected from command socket.