Close the connection on database drop (using onupgradeneeded event)