Despite achieving Premier League survival and a Europa League semi-final, Nottingham Forest has terminated manager Vitor Pereira's contract after only four months.