Fix PIL simulation

For now you have to reboot MicroDAQ between every PIL simulation run.