Keep track of Magma session, to allow for parallel run.