Added commented code as reference to possibly fix gogoc restart fail.