<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def profile_cancel(self, query_id, timeout=10):
 """ Cancel the query that has the given queryid. :param query_id: The UUID of the query in standard UUID format that Drill assigns to each query. :param timeout: int :return: pydrill.client.Result """

        result = Result(*self.perform_request(**{
            'method': 'GET',
            'url': '/profiles/cancel/{0}'.format(query_id),
            'params': {
                'request_timeout': timeout
            }
        }))
        return result