'Return the job currently at position `pos`, but still keep it in the job queue. An IndexError will be raised
if that position does not currently exist in the job list.
:param int pos: Position of the job to get.
:return:        The job'

def _peek_job(self, pos):

    if (pos < len(self._job_info_queue)):
        return self._job_info_queue[pos].job
    raise IndexError()
