Global stability and control of the confined turbulent flow past a thick flat plate