You're also opening the access object only once, but then trying to close it multiple times in the loop.