added sqlite busy handler: retries on locking conflicts