Fixed getConsumption with PsSockets.