Added synchronize for when app is crashing on startup