Calling os.listdir() appears to stop the sim. No error on the console. Potentially there's one reported via the internal_error message, which we don't yet use.