You can configure a supervisor rule as shown in the below screenshot to close resolved tickets automatically after 48 hours.