Delayed closing on charging port

When arriving to a destination and you want to charge your car, you only have a few seconds to get the cable and plug it into the charging-port after closing the door. When frunk is still open, charging-port should not close automatically. 

This is what usually happens. I park, open frunk and charing-port and exit the car, and by habit I close the driversdoor. Go to frunk and get cable, and right before I get to the charging port, it closes. SO ANNOYING!
Then I need to get my phone to open it again, or re-open the car.... While I'm holding the cable.