add strict mode, error checking when offline
remove strict mode, add polling