I have used a thunderbolt cable connected to the port instead of the built in cable and this solved it for me. I am now sure that my flickering was caused by the cable.
open