Added method to get command state from server thread processing client.