Added retry strategy for sqlite busy and locked codes