def METHOD_NAME(self, job, queue):
    create_file(os.path.join(sandbox, 'started'))
    # have to loop here rather than one sleep to avoid holding the GIL
    # and preventing signals being received
    for i in range(20):
        time.sleep(0.1)
    create_file(os.path.join(sandbox, 'finished'))