<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get(self, *args, **kwargs):
 """Call from main thread."""

        payload = self.buf.get(*args, **kwargs)
        logger.debug("Removing RPC payload from ControlBuffer queue: %s", payload)
        return payload