Don't crash the application if the library couldn't be read

The Load method now tries three times before giving up and leaves the
library empty, if it fails the fourth time