That's not concerning in the slightest!
After finally escaping solitary confinement in the capital, our wizard is following the heroine to the throne room where the rest of the party is waiting, ready to fight.
Wizard: *follows the heroine up a flight of steps* Are you sure you know where you’re going?
Heroine: shut up the guards might hear us!
Dm: As you reach the next landing, you hear the clanking of armor and casual conversation.
Wizard(oog): can i roll perception to see what they are saying? *rolls nat 20 and proceeds to celebrate*
Dm: you hear the leader of the platoon talking with his teammates.
Leader: *basically talks about conflict in the throne room and missing people all over the city*
Dm: the guards turn the corner and run right into you
Leader: PRISONER! WHAT ARE YOU DOING OUT OF YOUR CELL?!
Wizard (oog) : Dm how did he see me?!
Dm: *facepalms* did you roll stealth? You literally stood at the entrance of the stairway listening to their conversation until they ran into you.
Eventually he managed to convince them to let him go, and then to my misery, proceeded to go drink with his new friends in the tavern while his party is waiting for him and the heroine (who he turned invisible). Did I also mention that there were a series of dragon roars coming from the throne room?