reset db connections in middleware