In this circumstance the team with possession of the puck is allowed to complete the play ; that is , play continues until a goal is scored , a player on the opposing team gains control of the puck , or the team in possession commits an infraction or penalty of their own .