<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def refresh(self):
 """ Periodically refresh the TURN allocation. """

        while True:
            await asyncio.sleep(5/6 * self.lifetime)

            request = stun.Message(message_method=stun.Method.REFRESH,
                                   message_class=stun.Class.REQUEST)
            request.attributes['LIFETIME'] = self.lifetime
            await self.request(request)

            logger.info('TURN allocation refreshed %s', self.relayed_address)