Grantee, upon making an opening upon any of the streets, avenues, roads, public highways, alleys, lanes, ways, parks and other public places in the city, for the purpose of laying, repairing or maintaining gas mains, shall use due care and caution to prevent injury to persons, and shall replace and restore all public ways to their former condition as nearly as practicable, and within a reasonable time, and shall not unnecessarily obstruct or impede traffic upon the streets, avenues, roads, public highways, alleys, lanes, ways, parks and other places of said city.