I believe that it is a chess rule that when you flag, and the opponent does not have enough material to mate you, its a draw. I just "lost" on time, when my opponent had just a knight, and I had a queen and a bishop. I believe I had a similar error before.. Just my two cents.