Tailgate issues - check your battery - I suspect the pump times out if you have low voltage and it can't build enough pressure.
With all doors closed put the key in I position (just the radio on)
Press the R button 3 times in the center of the cluster
The LCD should show you the battery voltage
Glow and crank the engine and see what the voltage drops to.
Mine was going down to 9 volts on glowing and 6 volts on cranking
W164 battery replacement
Once I replaced the battery last February I have not had any issues with the tailgate since. Even when parked with the rear end up on my sloping driveway. Not sure if it was the better voltage or cycling power that did the trick but it definitely did for me.