Graph name keeps getting reset

Hello, I've been using the Dijkstra Source-Target algorithm of the GDSL plugin to get the shortest path between two nodes. That works exactly as it should be, however I always have to rerun the cypher query :
CALL gds.graph.create( 'graphname, 'node', 'rel', { relationshipProperties: 'prop' } )
or else the Djikstra call gives an " Graph not exist in database".
Anyone has any idea why this keeps happening? or if I can run the djikstra algortihm anonymously ? I searched on the official website however I didn't find a detailed example.
Thank you.