Remove storage sync from background. running it only in the foreground makes it a lot more simple