Implemented safeRead with 4 retries