What I guess has happened is that the time interval that you were not connected to the server/game was so long (> 4 min) that your opponent made you resign.