Needs thread {} wrapped around the direcotry / file creation stuff especially.
Example:
public any function rmdir(path,callback) {
thread name="foundry-rmdir-#createUUID#" p=arguments.path cb=arguments.callback {
deleteDirectory(attributes.p);
makeCallback(attributes.cb);
}
}