Fixed multiple db connections