Stop parsing db rows when disconnected

refs #1498