I am creating a flask restful api to import data in to neo4j using Py2neo. As authentication is to be done in every request, I want my neo4j connection to be terminated at the end of each request such that subsequent requests with different auth info wouldn't use the previous credentials.
Is there any way to do this in Py2neo?