Ensemble based Closed-Loop Optimal Control using Physics-Informed Neural Networks