Contents:
Creates a location closing execution thread.
world – A world object linked to this thread.
robot – Robot instance or name to execute action.