Trying to fix SQLITE BUSY error