reset db connection in after block