(simulator) initialise both stopRequest and statusCode when setting the simulation monitor.