Adding method to reset db connections

@andresf please review