Kill db connection in tests