Coastal town road closes as flood defence maintenance gets under way