sleep while network err