Even if you can go through I suspect you may be pulling your hair out after several hours airside in T7. Perhaps you can leave any bags at left luggage (I think there are some at T1 and 4 or downtown at Grand Central and Penn) and then have a walk around or visit some sights for a few hours before heading back to the airport.