The topic timer can already do this partially as it shows different options for a topic that has already been closed:
Can you tell us a bit more about your use case for closing a topic repeatedly after any replies?