Bug 997299 - Create retry() context manager. r=bhearsum