If a Python simulator is started as sub-process, the function
mosaik_api.start_simulation() makes sure that
mosaik_api.Simulator.finalize() is called when the simulation is finished.
However, this does not work if the simulator is run in-process, because
start_simulation() is not used in this case. Maybe we can fix this in the simmanager / SimProxy.