Allow datasource to recover from db failures

Change-Id: Ieec22acb7aea6c95070002d92c0c54e5e5253fb3
Signed-off-by: lzelkha@redhat.com <liran.zelkha@gmail.com>
Bug-Url: https://bugzilla.redhat.com/1024038